<?php if(!defined('IN_SYS')) exit('Access Denied'); ?>
<!DOCTYPE html>
<html>

    <head>
        <title>{$pagetitle}</title>
        <meta charset='utf-8' />
        <meta name="description" content="{$description}">
        <meta name="keywords" content="{$keywords}">
        <link type="text/css" rel="stylesheet" href="/static/common/css/reset.css" />
        <link type="text/css" rel="stylesheet" href="{$templets}/style/css/footer.css" />
        <link type="text/css" rel="stylesheet" href="{$templets}/style/css/nav.css" />
        <link type="text/css" rel="stylesheet" href="{$templets}/style/css/body.css" />
        <script type="text/javascript" src="/static/common/js/jquery.js"></script>
        <script type="text/javascript" src="/static/common/js/common.js"></script>
        <script type="text/javascript" src="/static/common/js/jquery.lazyload.min.js"></script>
        <script type="text/javascript" src="/static/common/js/plus.js"></script>
        <script type="text/javascript" src="/static/common/js/share.js"></script>
        <!-- include mobile_agent -->
    </head>

    <body>
        <!-- include header -->
        <!-- 面包屑 -->
        <div class="wrap cl">
            <ul class=" breadcrumb">
                <li><a href="/" title="{$yuming_website[sitename]}">{$yuming_website[sitename]}</a></li>
                <li><a href="/{$typeid}">{$typename}</a></li>
                <li>{cut($article_content[title],50,'....')}</li>
            </ul>
            <!-- 正文 -->
            <div class="article_page_center fl">
                <div class="box">
                    <h1>{$article_content[title]}</h1>
                    <div class="info cl">
                        <span class="fl">{date('Y-m-d',$article_content[addtime])}</span>
                    </div>
                    <div class="detail">
                        {$text}
                    </div>
                    <div class="tag-list" style="margin-left:20px;">
                        <!-- foreach tag::arctags($id)-->
                           <a href="/tags/{$id}">{cut($tagsname,30,'...')}</a>
                        <!-- /foreach -->
                    </div>
                </div>
                <!-- 猜你喜欢 -->
                <div class="like">
                    <div class="box">
                        <div class="box-heading">
                            <h3>猜你喜欢</h3>
                        </div>
                        <div class="box-body">
                            <ul>
                                <!-- foreach tag::arclist("type=$typeid&orderby=rand&row=5")-->
                                <li>
                                    <a href="{$url}" target="_blank" class="like-img">
                                        <img src="/static/common/images/nopic.png"  data-original="{$thumb}" />
                                    </a>
                                    <a href="{$url}" target="_blank">
                                        <p>{cut($title,18,'...')}</p>
                                    </a>
                                </li>
                                <!-- /sql -->
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 右侧 -->
            <div class="index_page_left fr">
                <div class="box">
                    <div class="box-heading">
                        <h3>热门文章</h3>
                    </div>
                    <ul class="box_ul">
                        <!-- foreach tag::arclist("orderby=click&row=10")-->
                        <li>
                            <p><a href="{$url}">{cut($title,30,'...')}</a></p>
                            <span>浏览：{$click} &nbsp;&nbsp;时间：{date('Y-m-d ',$addtime)} </span>
                        </li>
                        <!-- /foreach -->
                    </ul>
                </div>
                <div class="box">
                    <!--标签-->
                    <div class="box-heading">
                        <h3>标签</h3>
                    </div>
                    <div class="tagcon  cl">
                        <ul class="tag-list">
                            <!--foreach tag::tags(40)-->
                            <li class="tagi fl"> <a class="tagi{$__i}" href="/tags/{$id}">{$tagsname}</a> </li>
                            <!--/foreach-->
                        </ul>
                    </div>
                </div>
                <div class="box">
                    <div class="box-heading">
                        <h3>推荐文章</h3>
                    </div>
                    <ul class="box_ul">
                        <!-- foreach tag::arclist("flag=c&row=5")-->
                        <li>
                            <p><a href="{$url}">{cut($title,30,'...')}</a></p>
                            <span>浏览：{$click} &nbsp;&nbsp;时间：{date('Y-m-d ',$addtime)} </span>
                        </li>
                        <!-- /foreach -->
                    </ul>
                </div>
            </div>
        </div>
        <!-- include footer -->
        <script>
                    $("img").lazyload({
                        effect: "fadeIn",
                        threshold: 200,
                        placeholder: '/static/common/images/loading.gif',
                    });

        </script>
    </body>
<!-- include jumpscript -->
</html>
